package com.ruoyi.credit.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 制度规则对象 base_rules
 * 
 * @author zhulei
 * @date 2022-03-10
 */
public class BaseRules extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 制度id */
    private Long ruleId;

    /** 制度标题 */
    @Excel(name = "制度标题")
    private String ruleTitle;

    /** 规则类型 */
    @Excel(name = "规则类型")
    private String ruleType;

    /** 制度内容 */
    private String ruleContent;

    /** 附件地址 */
    @Excel(name = "附件地址")
    private String filePath;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 年份 */
    @Excel(name = "年份")
    private String ruleYear;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setRuleId(Long ruleId) 
    {
        this.ruleId = ruleId;
    }

    public Long getRuleId() 
    {
        return ruleId;
    }
    public void setRuleTitle(String ruleTitle) 
    {
        this.ruleTitle = ruleTitle;
    }

    public String getRuleTitle() 
    {
        return ruleTitle;
    }
    public void setRuleType(String ruleType) 
    {
        this.ruleType = ruleType;
    }

    public String getRuleType() 
    {
        return ruleType;
    }
    public void setRuleContent(String ruleContent) 
    {
        this.ruleContent = ruleContent;
    }

    public String getRuleContent() 
    {
        return ruleContent;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setRuleYear(String ruleYear) 
    {
        this.ruleYear = ruleYear;
    }

    public String getRuleYear() 
    {
        return ruleYear;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ruleId", getRuleId())
            .append("ruleTitle", getRuleTitle())
            .append("ruleType", getRuleType())
            .append("ruleContent", getRuleContent())
            .append("filePath", getFilePath())
            .append("status", getStatus())
            .append("ruleYear", getRuleYear())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
